<?php
namespace TestModule\View\Helper;

use Zend\View\Helper\AbstractHelper;

class TestHelper extends AbstractHelper
{
	public function __invoke($str, $find)
	{
		if(!is_string($str) || !is_string($find))
		{
			return "must be string";
		}
		
		if(strpos($str, $find) === false)
		{
			return "not found";
		}
		
		return "Found at ".strpos($str, $find);
	}
}

?>